﻿package com.wandian.controller
{  
	import com.wandian.model.UserInfoProxy;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

    public class UserCommand extends SimpleCommand
    {

        public function UserCommand()
        {
            return;
        }

        override public function execute(notification:INotification) : void
        {
            var userInfo:UserInfoProxy = facade.retrieveProxy(UserInfoProxy.NAME) as UserInfoProxy;
            switch(notification.getName())
            {
                case CLZNoticeName.LOAD_XML_COMPLETE:
                {
					userInfo.getUserInfoById();
                    break;
                }
                default:
                {
                    break;
                }
            }
            return;
        }

    }
}
